{%extends "base.html"%}
{%block title%}搜索{%endblock%}
{%block content%}
<!--登录成功以后的内容-->
<div id="tags">
	<h3>搜索结果</h3>
	<ul>
		{%for activity in activitys%}
			<li>
				<a href="/activitys/people/{{activity.userid}}"><image src="{{activity.profile_image}}">{{activity.username}}</image></a>
				<a href="/activity/{{activity.id}}">{{activity.activityname}}</a>
				{%ifequal activity.date|date:"Y-m-d" "2008-03-08"%}
					随便哪一天</h4>
				{%else%}
					{{activityInfo.date|date:"Y-m-d"}}</h4>
				{%endifequal%}
				{{activity.datetime|date:"Y-m-d H:m:s"}}
			</li>
		{%endfor%}
	</ul>
</div>
{%endblock%}